package com.qczl.weather.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qczl.weather.dao.CityMapper;
import com.qczl.weather.pojo.City;
import com.qczl.weather.service.CityService;

@Service
public class CityServiceImpl implements CityService{

	@Resource
	CityMapper cDao ;
	
	public List<City> getAll() {
		
		return cDao.selectAll();
	}

}
